#include "light.h"

network::light::light(boost::shared_ptr<network::send_impl> i, const string &si)
: network::sendable(i), _signal(si) {}

string network::light::get_string()
{
	create_open_object("light");
	create_attrib("signal", _signal);
	create_close_object("light");

	string rtrn = get_header();
	rtrn += get_footer();
	return rtrn;
}

